package net.dopan.pigframe.user.service;

import net.dopan.pigframe.core.base.service.BaseService;
import net.dopan.pigframe.user.model.entity.SysUserRole;

/**
 * @Package: net.dopan.pigframe.user.service
 * @Title: SysUserRoleService
 * @Description: 用户角色表 服务类
 * @author: 刘宽
 * @date: 2018/9/2 20:59
 */
public interface SysUserRoleService extends BaseService<SysUserRole> {

    /**
     * 根据用户Id删除该用户的角色关系
     *
     * @param userId 用户ID
     * @return boolean
     */
    Boolean deleteByUserId(Integer userId);
}
